#include <iostream>
using namespace std;
typedef long long LL;
#define endl '\n'
void solve() 
{
    int n; cin >> n;
    int ans = 0;
    for(int i = 1; i <= n; i++) 
    {
        int x; cin >> x;        
        ans ^= x;
    }
    if(ans == 0)  cout << "lose" << endl;
    else cout << "win" << endl;
}

int main()
{
    ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
    int T = 1;
	// cin >> T;
	while(T--)
	{
        solve();
	}
	return 0;
}